package cn.rokka.rbac.mapper;



import cn.rokka.rbac.domain.Department;
import cn.rokka.rbac.qo.QueryObject;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DepartmentMapper {
    void deleteByPrimaryKey(Long id);

    void insert(Department record);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    void updateByPrimaryKey(Department record);

    int selectForCount(QueryObject qo);

    List<Department> selectForList(QueryObject qo);
}